from django.urls import include, path
from rest_framework import routers
from . import views

from .views import ExperimentViewSet
from .views import ExperimentalProgramViewSet
from .views import ExperimentProcedureViewSet
from .views import RiddleViewSet


router = routers.DefaultRouter()
router.register(r'experiment_information', ExperimentViewSet)
router.register(r'experiment_design', ExperimentalProgramViewSet)
router.register(r'experiment_procedure', ExperimentProcedureViewSet)
router.register(r'riddle', RiddleViewSet)

urlpatterns = [
    path('', include(router.urls)),
    path('get_passed_experiment/', views.get_passed_experiment),
    path('get_require_audit_experiments/', views.get_require_audit_experiment),
    path('get_require_audit_experiment_procedures/', views.get_require_audit_experiment_procedure),
]
